<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
     <link rel="stylesheet" type="text/css" href="${path}/css/main.css">
	<link rel="stylesheet" type="text/css" href="${path}/css/mainTable.css">
	<script type="text/javascript" language="javascript" src="${path}/js/calendar/js/WdatePicker.js"></script>
	<script type="text/javascript" language="javascript" src="${path}/js/jquery.js"></script>
	<script type="text/javascript" language="javascript" src="${path}/js/jquery.blockUI.js"></script>
	
  </head>
  <body>
    <div>
    	<form id="conversionForm" name="conversionForm" method="post" action="">
    		<p>转化率详情监控</p>
    		<table>
    			<thead>
    				<tr>
    					<th>渠道名称</th>
    					<th>业务长号码</th>
    					<th>拨打时间</th>
    					<th>未计费数量</th>
    					<th>计费数量</th>
    					<th>接通数量</th>
    					<th>转化率</th>
    				</tr>
    			</thead>
    			<c:choose>
    				<c:when test="${conversionVoList != null && fn:length(conversionVoList) > 0}">
    					<c:forEach var="conversionVo" items="${conversionVoList }" varStatus="list">
    						<tr style="${list.index%2 != 0 ? 'background-color: #fea;' : 'background-color: #fff;' }">
    							<td>${conversionVo.lower_name }</td>
    							<td>${conversionVo.sp_number }</td>
    							<td>${conversionVo.add_date }</td>
    							<td><a href="${path }/conversion/getUserCallin.action?term.lower_id=${conversionVo.lower_id }&term.sp_number=${conversionVo.sp_number }&term.time_begin=${term.time_begin }&term.time_end=${term.time_end }&term.add_date=${conversionVo.add_date }">${conversionVo.no_fee_number }</a></td>
    							<td><a href="${path }/conversion/getProvince.action?term.lower_id=${conversionVo.lower_id }&term.sp_number=${conversionVo.sp_number }&term.time_begin=${term.time_begin }&term.time_end=${term.time_end }&term.add_date=${conversionVo.add_date }">${conversionVo.fee_number }</a></td>
    							<td>${conversionVo.user_num }</td>
    							<td>${conversionVo.rate }</td>
    						</tr>
    					</c:forEach>
    				</c:when>
    				<c:otherwise>
    					<tr>
    						<td>请输入查询条件!</td>
    					</tr>
    				</c:otherwise>
    			</c:choose>
    		</table>
    	</form>
    </div>
  </body>
</html>
